package com.xmx.ndmalladmin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 定时任务
 *
 * @author fbb
 * @email boyinbing@126.com
 * @date 2021-08-11 01:54:38
 */
@Data
@TableName("schedule_job")
public class ScheduleJobEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 任务id
	 */
	@ApiModelProperty(value = "任务id")
	@TableId
	private Long jobId;
	/**
	 * spring bean名称
	 */
	@ApiModelProperty(value = "spring bean名称")
	private String beanName;
	/**
	 * 参数
	 */
	@ApiModelProperty(value = "参数")
	private String params;
	/**
	 * cron表达式
	 */
	@ApiModelProperty(value = "cron表达式")
	private String cronExpression;
	/**
	 * 任务状态  0：正常  1：暂停
	 */
	@ApiModelProperty(value = "任务状态  0：正常  1：暂停")
	private Integer status;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

}
